// InputComponent.module.scss
/* From Uiverse.io by opMorn */
.inputContainer {
  position: relative;
  margin: 50px auto;
  width: 200px;

  & .input {
    font-size: 20px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 5px 0;
    background-color: transparent;
    outline: none;

    &:focus + .label,
    &:valid + .label {
      top: -20px;
      font-size: 16px;
      color: #333;
    }

    &:focus + .underline,
    &:valid + .underline {
      transform: scaleX(1);
    }
  }

  & .label {
    position: absolute;
    top: 0;
    left: 0;
    color: #ccc;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  & .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #333;
    transform: scaleX(0);
    transition: all 0.3s ease;
  }
}



/* From Uiverse.io by shadowmurphy */
.inputBtn {
  border: 0.5px solid #999999;
  width: 100%;
  height: 2.5em;
  padding-left: 0.8em;
  outline: none;
  overflow: hidden;
  background-color: white;
  border-radius: 6px;
  transition: all 0.5s;
  &:hover,
  &:focus {
    border: 2px solid #4A9DEC;
    box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
    background-color: white;
  }
}


